package com.tianjipms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("sys_building")
public class Building {
    private static final long serialVersionUID = 1L;
    /**
     * 楼栋编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 楼栋名称
     */
    private String name;
    /**
     * 楼栋地址
     */
    private String address;
    /**
     * 户数
     */
    private Integer houseNum;
    /**
     * 住户数
     */
    private Integer residentNum;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getHouseNum() {
        return houseNum;
    }

    public void setHouseNum(Integer houseNum) {
        this.houseNum = houseNum;
    }

    public Integer getResidentNum() {
        return residentNum;
    }

    public void setResidentNum(Integer residentNum) {
        this.residentNum = residentNum;
    }
}
